﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<link href="/css/base.css" type="text/css" rel="stylesheet" />
<link href="/css/layout.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/js/jquery.default.js"></script>
<script type="text/javascript" src="/js/jquery.validate.js"></script>
<!--[if ie]><link href="/css/ie.css" type="text/css" rel="stylesheet"><![endif]-->
<script type="text/javascript">
	
</script>

</head>

<body>
   <?php $this->load->view('head');?>
   <div class="w100p">
    	<div class="w903 mg">
        	<div class="nav_tit">
            	小时候的胡同，现在的马路？大商场的繁华，街边小店的幽静，你更喜欢哪个？来吧，我们一起走街串店.......
            </div>
        </div>
    </div>
    <!-- nav_tit--end-->
    
    <!-- body -->
    <div class="w100p mb20">
    	<div class="w903 mg">
			<div class="box_s1 i_shadow">
            	<div class="b_head"></div>
                <div class="content">
                	<div class="i_lb_box">
                    	<ul class="i_big_lb" id="pics">
                    		<?php foreach ($streetList as $key => $street):?>
                        	<li class="current"><a href="<?php echo site_url('street?id='.$street['id'])?>"><img src="<?php echo $street['logo']?>" width="890" height="330" class="block" /></a></li>
                        	<?php endforeach;?>
                        </ul>
                        
                    </div>
                </div>
                <div class="b_foot"></div>
            </div>
            <ul class="i_big_lb_nums" id="nums">
            <?php foreach ($streetList as $key => $street):?>
            	<?php if($key == 0):?>
            	<li class="current"><i class="icon_circle_blue_s1">1</i></li>
            	<?php else:?>
            	<li><i class="icon_circle_gray_s1"><?php echo $key+1?></i></li>
            	<?php endif;?>
            <?php endforeach;?>
            	
            </ul>
            <div class="sepe_dash"></div>
            <div class=" i_store_wrap">
                <ul class="new_store i_store" id="autoLb">
                	<?php foreach ($storeList as $store):?>
                	
                		<li>
	                        <div class=" lr_box">
	                            <div class="l_box">
	                                <a href="<?php echo site_url('store?id='.$store['id'])?>"><img src="<?php echo site_url($store['photo'])?>" width="62" height="62" class="block" /></a>
	                            </div>
	                            <div class="r_box">
	                                <p class="title">
	                                    <a href="<?php echo site_url('store?id='.$store['id'])?>"><?php echo $store['name']?></a>
	                                </p>
	                                <p class="info">地址：<?php echo $store['address']?></p>
	                                <div class="rela_nums">
	                                    <div class="love_nums">
	                                        <i class="icon_heart"></i><span><?php echo $store['loves']?></span>
	                                    </div>
	                                </div>
	                            </div>
	                        </div>
	                    </li>
                	<?php endforeach;?>
                    
                   
                </ul>
            </div>
            <div class="sepe_dash"></div>
        </div>
  
    </div>
    
    <div class="w100p mb20">
    	<div class="w903 mg">
        	<div class="box_s1 i_shadow">
            	<div class="b_head"></div>
                <div class="content">
                	<div class=" i_pd_s1 clearfix">
                    	<div class=" i_bg_s1">
                            <ul class="pic_show_s1 mt15">
                            	<?php foreach ($advList as $key=>$adv):?>
                                <li><a href="<?php echo $adv['link']?>"><img width="90" height="87" src="<?php echo $adv['image']?>" class="block" /></a></li>
                                <?php endforeach;?>
                            </ul>
                        </div>
                        <div class="login_bg">
                        	<form action="<?php echo base_url('member/login')?>" method="post">
                        	<table class="com_form com_form_s1 i_login">
                            	<tr>
                                	<td width="87" class="tr"><label>用户名：</label></td><td><input type="text" class="def_txt_s6" /></td>
                                </tr>
                                <tr>
                                	<td width="87" class="tr"><label>密&nbsp;&nbsp;码：</label></td><td><input type="password" class="def_txt_s6" /></td>
                                </tr>
                                <tr>
                                	<td width="87" class="tr"></td><td><input type="submit" class="def_btn_s18" value="登录" /><a href="<?php echo site_url('member/toreg')?>" class="free_reg">免费注册</a></td>
                                </tr>
                            </table>
                            </form>
                        </div>
                    </div>
                </div>
                <div class="b_foot"></div>
            </div>
        </div>
    </div>
    
   <?php $this->load->view('foot')?>
</body>
<script type="text/javascript">
	$(function(){		
		$.defaults.autoLbShow({
			autoID:"autoLb"
		});
		$.defaults.lbShowOne({
			picID:"pics",
			numsID:"nums"
		});
	})
</script>
</html>
